# NameError - 函数名拼写错误
# primt("Hi")

# NameError - 变量名拼写错误
# a = 111
# print(aa)

# NameError - 变量不存在
# print(b)

# SyntaxError - 语法错误
# if "he" == "hi"
#     print(1)

# TypeError - 类型错误
# print(3+"2")

# TypeError
# turple = (1,2,3)
# turple[2] = 4

# AttributeError
# turple.append(2)

# KeyError
# dict = {1:2,3:4}
# print(d[2])

# IndexError
# list = [1,2]
# list[5] = 10


